import sys
sys.path.append('../util')
from HttpUtil import HttpUtil


http_util = HttpUtil()
param = {"code": "1000001", "start": "20180327", "end": "20180328",
         "fields": "TCLOSE;HIGH;LOW;TOPEN;LCLOSE;CHG;PCHG;TURNOVER;VOTURNOVER;VATURNOVER;TCAP;MCAP"}
result = http_util.get_data("http://quotes.money.163.com/service/chddata.html", param)
print(result)